package org.ysu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Blob;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName interview
 */
@TableName(value ="interview")
@Data
public class Interview implements Serializable {
    /**
     * 走访信息id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 乡村干部id
     */
    private Integer vcId;

    /**
     * 贫困户id
     */
    private Integer fId;

    /**
     * 户主id
     */
    private Integer pId;

    /**
     * 走访时间
     */
    private Date time;

    /**
     * 交谈详细
     */
    private String detail;

    /**
     * 风险类型
     */
    private String riskType;

    /**
     * 风险备注
     */
    private String riskRemark;

    /**
     * 年收入
     */
    private BigDecimal income;

    /**
     * 债务
     */
    private BigDecimal liability;

    /**
     * 意见和建议
     */
    private String suggestion;

    /**
     * 配图
     */
    private String photo;

    private Date createTime;;

    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}